import sys

def main(amount):
  res = "nlist"
  for i in range(amount):
    i+=1
    res += " p"+str(i)
  res += " -o trial.dot"
  print res

if __name__ == "__main__":
  main(int(sys.argv[1]))
